package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;

public interface PermissionService {
         //新增权限
        public  void   add(Permission  permission);
      //分页查询权限
    public PageResult pageQuery(QueryPageBean queryPageBean);
    //根据id删除权限
    public    void   deleteById(Integer  id);
    //编辑回显-根据id查询权限
    public  Permission  findById(Integer  id);
    //编辑
    public  void  edit(Permission  permission);
}
